

// import '@babel/polyfill';
// import 'core-js/stable';
// import 'regenerator-runtime/runtime';
// let sum = (a, b) => a + b;
// let promise = Promise.resolve();
// console.log([1, 2, 3].find(item => item === 2));

// import Promise from 'babel-runtime/core-js/promise';

/* 
启用插件babel-plugin-transform-runtime后，Babel就会使用babel-runtime下的工具函数
当我们使用 ES6 的静态事件或内置对象时自动引入 babel-runtime/core-js
var _Promise = __webpack_require__("./node_modules/@babel/runtime-corejs3/core-js-stable/promise.js"); 
*/
const p = new Promise(()=> {});
console.log([1, 2, 3].find(item => item === 2));
//var _regeneratorRuntime = __webpack_require__(/*! @babel/runtime-corejs3/regenerator */ "./node_modules/@babel/runtime-corejs3/regenerator/index.js");/*  */
function* gen() {

}
console.log(gen());

